home *** CD-ROM | disk | FTP | other *** search
- on(release){
- _root.buyMenu.messyHah.sawMessage = false;
- if(_root.modeo == "All")
- {
- randMode = random(3) + 1;
- switch(randMode)
- {
- case 1:
- _root.dragOn = 0;
- _root.holdIt = 0;
- break;
- case 2:
- _root.dragOn = 1;
- _root.holdIt = 0;
- break;
- case 3:
- _root.dragOn = 0;
- _root.holdIt = 1;
- }
- }
- _root.musicPlay += 1;
- _root.enemyOut2 = 0;
- _root.level += 1;
- _root.enemyOut = 0;
- _root.moMoney += Math.ceil((random(23) + 10) * _root.hardining);
- _root.moSpeed += 0.03;
- otherDelay = 0;
- if(_root.moSpeed > 3)
- {
- _root.moSpeed = 3;
- }
- _root.moEnemys += random(2) + 1 + Math.ceil(_root.hardining);
- if(_root.enemyLim != "No Limit")
- {
- if(_root.moEnemys > _root.enemyLim)
- {
- _root.moEnemys = _root.enemyLim;
- }
- }
- _root.enemoGen.enemiesGenerated = 0;
- if(_root.battleMusicOn == true && _root.bossMusicOn == true || _root.musicPlay == 4)
- {
- stopAllSounds();
- _root.musicPlay = 0;
- _root.bossMusicOn = false;
- musPlayo = random(4) + 1;
- switch(musPlayo)
- {
- case 1:
- _root.sound.attachSound("battleMusic");
- break;
- case 2:
- _root.sound.attachSound("fight1");
- break;
- case 3:
- _root.sound.attachSound("fight2");
- break;
- case 4:
- _root.sound.attachSound("fight3");
- }
- _root.sound.start(0,60000);
- }
- _root.deadEnemy = 0;
- if(_root.level % _root.bossLev == 0)
- {
- if(_root.battleMusicOn != false)
- {
- stopAllSounds();
- _root.sound.attachSound("bossMusic");
- _root.sound.start(0,60000);
- _root.bossMusicOn = true;
- }
- _root.bossO.play();
- }
- this._visible = false;
- }
-